package com.caesar.exer2;
import java.util.*;
/**
 * @author caesar
 * @date 2025/7/18
 * @Description:
 * @apiNote
 */
public class exer3 {
    public static void main(String[] args) {
        HashMap<String, List<String>> map = new HashMap<>();
        map.put("北京市", Arrays.asList("北京市"));
        map.put("海南省", Arrays.asList("海口市","三亚市"));
        map.put("浙江省", Arrays.asList("绍兴市","温州市","湖州市","嘉兴市","台州市","金华市","舟山市","衢州市","丽水市"));

        Set<Map.Entry<String,List<String>>> entrySet =map.entrySet();
        for(Map.Entry<String,List<String>> entry :entrySet){
            System.out.println(entry);
        }
    }
}
